#!/bin/bash
function sum()
{
    s=$[$1+$2]
    echo $s
}
read -p "input num1:" num1
read -p "input num2:" num2
sum $num1 $num2

